package com.frank.stock4j.tusharepro.bean;

import com.frank.stock4j.tusharepro.BaseBean;
import com.frank.stock4j.tusharepro.http.BaseRequestParam;

/**
* 描述：国债长期利率
* @author: codesmith
**/
public interface UsTltrBean extends BaseBean {
    String API_NAME = "us_tltr";
    
    interface Fields {
    String date = "date";    //日期
    String ltc = "ltc";    //收益率 LT COMPOSITE (&gt;10 Yrs)
    String cmt = "cmt";    //20年期CMT利率(TREASURY 20-Yr CMT)
    String e_factor = "e_factor";    //外推因子EXTRAPOLATION FACTOR
    }
    
    interface Params {
        date date = new date();
        /*
        * 日期
        */
        class date extends BaseRequestParam {
            { key = "date"; }
        }
        start_date start_date = new start_date();
        /*
        * 开始日期
        */
        class start_date extends BaseRequestParam {
            { key = "start_date"; }
        }
        end_date end_date = new end_date();
        /*
        * 结束日期
        */
        class end_date extends BaseRequestParam {
            { key = "end_date"; }
        }
        fields fields = new fields();
        /*
        * 指定字段
        */
        class fields extends BaseRequestParam {
            { key = "fields"; }
        }
    }
}